<%@ page import="com.xiguthings.waka.po.Maintainer" %>
<%@ page language="java" contentType="text/html; charset=UTF-8"
         pageEncoding="UTF-8" %>

<%@include file="../../base.jsp" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <title>waka后台管理</title>
    <meta name="viewport"
          content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no"/>
    <meta name="Keywords" content="">
    <meta name="Description" content="">
    <meta name="Author" content="gang">
    <meta name="renderer" content="webkit">
    <link rel="stylesheet" href="${basePath}assets/bootstrap/css/bootstrap.min.css">
    <link rel="stylesheet" href="${basePath}css/public.css">
    <link rel="stylesheet" href="${basePath}css/media.css">
    <%--<link rel="stylesheet" type="text/css" href="../../assets/webuploader/webuploader.css">--%>
    <%--<link rel="stylesheet" href="../../assets/zyupload/skins/zyupload-1.0.0.css">--%>
    <link href="${basePath}assets/bootstrap-file-input/css/fileinput.css" media="all" rel="stylesheet" type="text/css"/>
</head>

<body>
<!--首页顶部-->
<div class="container-fluid top_cont header navbar-fixed-top">
    <ul class="pull-right user_area">
        <span>${maintainer.name}</span>
        <a href="javascript:;">退出</a>
    </ul>
</div>
<!--主体部分-->
<div class="page_main clearfix">
    <!--左边固定导航-->
    <div class="page_left  hidden-xs">
        <ul id="nav_content">
            <li class="slide_menu" data-target="content/content">
                <a href="javascript:;" class="block"><span class="glyphicon glyphicon-tasks"></span>题库/成长维度</a>
                <%--<span class="glyphicon glyphicon-triangle-right san"></span>--%>
            </li>
            <ol class="pad_left" style="display:none">
                <c:forEach items="${growthList}" var="growth">
                    <li data-target="test/test">
                        <a href="javascript:;" class="block" link="page/growth.cgi?growthId=${growth.growthId}">
                            <span class="glyphicon glyphicon-tasks"></span>
                                ${growth.name}
                            <c:if test="${growth.status == 0}">
                                <i style="color: black">[未发布]</i>
                            </c:if>
                            <c:if test="${growth.status == 50}">
                                <i style="color: green">[已发布]</i>
                            </c:if>
                            <c:if test="${growth.status == 99}">
                                <i style="color: red">[已废除]</i>
                            </c:if>
                        </a>
                    </li>
                </c:forEach>
                <li data-target="test/test">
                    <a href="javascript:;" class="block text-center" onclick="growth.goEditPage()">
                        <span class="glyphicon glyphicon-plus"></span>
                        添加
                    </a>
                </li>
                <%--<li data-target="test/test"><a href="javascript:;" class="block" link="卡牌"><span--%>
                <%--class="glyphicon glyphicon-tasks"></span>测试题</a></li>--%>
                <%--<li data-target="task/task"><a href="javascript:;" class="block" link="卡牌"><span--%>
                <%--class="glyphicon glyphicon-tasks"></span>Task</a></li>--%>
                <%--<li data-target="tips/tips"><a href="javascript:;" class="block" link="卡牌"><span--%>
                <%--class="glyphicon glyphicon-tasks"></span>Tips</a></li>--%>
            </ol>
            <%--<li data-target="main/main" class="active"><a href="template/main/main.html" class="block"><span class="glyphicon glyphicon-tasks"></span>首页</a></li>--%>
            <li data-target="card/card" class=""><a href="javascript:;" class="block"
                                                    link="page/banner/banner.cgi"><span
                    class="glyphicon glyphicon-tasks"></span>Banner</a></li>
            <li data-target="card/card" class=""><a href="javascript:;" class="block"
                                                    link="page/cdcard/cdcard.cgi"><span
                    class="glyphicon glyphicon-tasks"></span>加速卡</a></li>
            <li data-target="card/card" class=""><a href="javascript:;" class="block"
                                                    link="page/sysconfig/sysconfig.cgi"><span
                    class="glyphicon glyphicon-tasks"></span>功能配置</a></li>
            <%--<li class="slide_menu" data-target="content/content">--%>
            <%--<a href="javascript:;" class="block"><span class="glyphicon glyphicon-tasks"></span>内容</a>--%>
            <%--&lt;%&ndash;<span class="glyphicon glyphicon-triangle-right san"></span>&ndash;%&gt;--%>
            <%--</li>--%>
            <%--<ol class="pad_left" style="display:none">--%>
            <%--<li data-target="test/test"><a href="javascript:;" class="block" link="卡牌"><span--%>
            <%--class="glyphicon glyphicon-tasks"></span>测试题</a></li>--%>
            <%--<li data-target="task/task"><a href="javascript:;" class="block" link="卡牌"><span--%>
            <%--class="glyphicon glyphicon-tasks"></span>Task</a></li>--%>
            <%--<li data-target="tips/tips"><a href="javascript:;" class="block" link="卡牌"><span--%>
            <%--class="glyphicon glyphicon-tasks"></span>Tips</a></li>--%>
            <%--</ol>--%>
            <%--<li class="slide_menu" data-target="source/source">--%>
            <%--<a href="javascript:;" class="block"><span class="glyphicon glyphicon-tasks"></span>素材</a>--%>
            <%--&lt;%&ndash;<span class="glyphicon glyphicon-triangle-right san"></span>&ndash;%&gt;--%>
            <%--</li>--%>
            <%--<ol class="pad_left" style="display:none">--%>
            <%--<li data-target="banner/banner"><a href="javascript:;" class="block" link="卡牌"><span--%>
            <%--class="glyphicon glyphicon-tasks"></span>Banner</a></li>--%>
            <%--<li data-target="tools/tools"><a href="javascript:;" class="block" link="卡牌"><span--%>
            <%--class="glyphicon glyphicon-tasks"></span>道具</a></li>--%>
            <%--</ol>--%>
            <%--<li data-target="fnset/fnset"><a href="javascript:;" class="block" link="卡牌"><span--%>
            <%--class="glyphicon glyphicon-tasks"></span>功能</a></li>--%>
        </ul>
    </div>

    <!--右边内容显示-->
    <div class="page_right">
        <div id="page_right"></div>
    </div>
</div>
</body>
</html>



<script src="${basePath}js/utils/utils.js"></script>
<script src="${basePath}js/jquery-2.2.4.min.js"></script>
<script src="${basePath}assets/bootstrap/js/bootstrap.js"></script>
<script src="${basePath}assets/bootstrap-file-input/js/plugins/sortable.js" type="text/javascript"></script>
<script src="${basePath}assets/bootstrap-file-input/js/fileinput.js" type="text/javascript"></script>
<script src="${basePath}assets/bootstrap-file-input/js/locales/zh.js"></script>

<script src="${basePath}public/slide_menu.js"></script>
<script src="${basePath}js/index_js/index.js"></script>
<script src="${basePath}js/growth_js/growth.js"></script>


